package org.demo.bean;

public class Student {
	private int id;
	private int cid;
	private String name;
	
	public Student() {
	}
	public Student(String name) {
		this.name=name;
	}
	
	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public int getCid() {
		return cid;
	}


	public void setCid(int cid) {
		this.cid = cid;
	}


	@Override
	public String toString() {
		return "Studet [cid=" + cid + ", id=" + id + ", name=" + name + "]";
	}


	
}
